<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        /* * {
            margin: 0;
        }
        html,body {
            width: 100%;
            height: 100%;
            overflow: hidden;
            position: relative;
        }
        .wrapper {
            width: 100%;
            height: 100%;
            background-color: orange;
            position: absolute;
            top: -748px;
            left: 0;
        }
        .wrapper .section {
            width: 100%;
            height: 100%;
            background-color: orange;
            position: relative;
        }
        .wrapper .slider {
            float: left;
            width: $(window).outerWidth();
            width: 1180px;
            height: 100%;
            background-color: red;
        }
        .wrapper .sliderWrapper {
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width : $(window).outerWidth() * slider.length;
        } */
    </style>
</head>
<body>
    <div class="wrapper">
        <div class="section">1</div>
        <div class="section">
                <div class="slider">2-1</div>
                <div class="slider">2-2</div>
                <div class="slider">2-3</div>
        </div>
        <div class="section">3</div>
    </div>
</body>
<script src="./jquery-3.2.1.min.js"></script>
<script src="./myFullPage.js"></script>
    <script>
        $('.wrapper').myFullPage( {
            colorsArray : ['red','blue','green'],

        })
    </script>
</html>